package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * test_case对象 test_case
 * 
 * @author ruoyi
 * @date 2022-10-07
 */
public class TestCase extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 测试用例id */
    @Excel(name = "测试用例id")
    private Long caseId;

    /** 测试用例名称 */
    @Excel(name = "测试用例名称")
    private String caseName;

    /** 测试计划id */
    @Excel(name = "测试计划id")
    private Long planId;

    /** 测试计划名称 */
    private String planName = null;

    /** 测试用例等级 */
    @Excel(name = "测试用例等级")
    private Long caseGrade;

    /** 测试用例状态 */
    @Excel(name = "测试用例状态")
    private Integer caseState;

    /** 测试用例描述 */
    @Excel(name = "测试用例描述")
    private String caseInfo;

    public void setCaseId(Long caseId) 
    {
        this.caseId = caseId;
    }

    public Long getCaseId() 
    {
        return caseId;
    }
    public void setCaseName(String caseName) 
    {
        this.caseName = caseName;
    }

    public String getCaseName() 
    {
        return caseName;
    }
    public void setPlanId(Long planId) 
    {
        this.planId = planId;
    }

    public Long getPlanId() 
    {
        return planId;
    }
    public void setCaseGrade(Long caseGrade) 
    {
        this.caseGrade = caseGrade;
    }

    public void setPlanName(String planName)
    {
        this.planName = planName;
    }

    public String getPlanName()
    {
        return planName;
    }

    public Long getCaseGrade() 
    {
        return caseGrade;
    }
    public void setCaseState(Integer caseState) 
    {
        this.caseState = caseState;
    }

    public Integer getCaseState() 
    {
        return caseState;
    }
    public void setCaseInfo(String caseInfo) 
    {
        this.caseInfo = caseInfo;
    }

    public String getCaseInfo() 
    {
        return caseInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("caseId", getCaseId())
            .append("caseName", getCaseName())
            .append("planId", getPlanId())
            .append("planName", getPlanName())
            .append("caseGrade", getCaseGrade())
            .append("caseState", getCaseState())
            .append("caseInfo", getCaseInfo())
            .toString();
    }
}
